package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.SysWlyzUserMapper;
import com.ruoyi.system.domain.SysWlyzUser;
import com.ruoyi.system.service.ISysWlyzUserService;

/**
 * 网络验证Service业务层处理
 * 
 * @author zhouchang
 * @date 2024-12-16
 */
@Service
public class SysWlyzUserServiceImpl implements ISysWlyzUserService 
{
    @Autowired
    private SysWlyzUserMapper sysWlyzUserMapper;

    /**
     * 查询网络验证
     * 
     * @param id 网络验证主键
     * @return 网络验证
     */
    @Override
    public SysWlyzUser selectSysWlyzUserById(Long id)
    {
        return sysWlyzUserMapper.selectSysWlyzUserById(id);
    }

    /**
     * 查询网络验证列表
     * 
     * @param sysWlyzUser 网络验证
     * @return 网络验证
     */
    @Override
    public List<SysWlyzUser> selectSysWlyzUserList(SysWlyzUser sysWlyzUser)
    {
        return sysWlyzUserMapper.selectSysWlyzUserList(sysWlyzUser);
    }

    /**
     * 新增网络验证
     * 
     * @param sysWlyzUser 网络验证
     * @return 结果
     */
    @Override
    public int insertSysWlyzUser(SysWlyzUser sysWlyzUser)
    {
        return sysWlyzUserMapper.insertSysWlyzUser(sysWlyzUser);
    }

    /**
     * 修改网络验证
     * 
     * @param sysWlyzUser 网络验证
     * @return 结果
     */
    @Override
    public int updateSysWlyzUser(SysWlyzUser sysWlyzUser)
    {
        return sysWlyzUserMapper.updateSysWlyzUser(sysWlyzUser);
    }

    /**
     * 批量删除网络验证
     * 
     * @param ids 需要删除的网络验证主键
     * @return 结果
     */
    @Override
    public int deleteSysWlyzUserByIds(Long[] ids)
    {
        return sysWlyzUserMapper.deleteSysWlyzUserByIds(ids);
    }

    /**
     * 删除网络验证信息
     * 
     * @param id 网络验证主键
     * @return 结果
     */
    @Override
    public int deleteSysWlyzUserById(Long id)
    {
        return sysWlyzUserMapper.deleteSysWlyzUserById(id);
    }
}
